package com.twu.biblioteca;


import java.io.InputStream;
import java.io.PrintStream;
import java.util.ArrayList;

public class Movie {

    private String movie;
    private String year;
    private String director;
    private String rating;

    ArrayList <String> movies = new ArrayList();

    public Movie(String movie, String year, String director, String rating){
        this.movie = movie;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    public String getMovie() {
        return movie;
    }

    public String getYear() {
        return year;
    }

    public String getDirector() {
        return director;
    }

    public String getRating() {
        return rating;
    }

    @Override
    public String toString(){

        return movie +"-"+ year +"-"+ director +"-"+ rating;
    }
}
